package com.groupbuying.redpacket.service;

import com.groupbuying.redpacket.domain.RedPacketRuleDO;

import java.util.List;
import java.util.Map;

/**
 * 红包规则
 * 
 * @author vincnetxin
 * @email vincentxin@aliyun.com
 * @date 2019-11-12 14:54:44
 * @des
 */

public interface RedPacketRuleService {
	
	RedPacketRuleDO get(Long id);
	
	List<RedPacketRuleDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RedPacketRuleDO redPacketRule);
	
	int update(RedPacketRuleDO redPacketRule);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

}
